package com.sanbi.erp.core.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Desc:购物车运费工具类
 * @Data: 2022/8/25 11:12
 * @Author: WuHang
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CartDto {
    //重量
    private BigDecimal weight;

    //长
    private Integer length;

    //宽
    private Integer width;

    //高
    private Integer height;

    //体积重
    private BigDecimal cubageWeight;

    //购买数量
    private Short number;

    public CartDto(BigDecimal weight, BigDecimal cubageWeight, Short number){
        this.weight = weight;
        this.cubageWeight = cubageWeight;
        this.number = number;
    }

}
